package org.jeecg.modules.flower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 蔬菜明细表（盘点）
 */
@ApiModel(value="蔬菜明细表（盘点）实体", description="蔬菜明细表（盘点）实体")
@Data
public class FlowerAcont implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "id")
	private String id;

	@Excel(name = "库房", width = 15,dictTable = "flower_storehouse",dicText = "name",dicCode = "code",needMerge = true)
	@ApiModelProperty(value = "库房")
	@Dict( dictTable = "flower_storehouse",dicText = "name",dicCode = "code")
	private String storehouse;

	@Excel(name = "成本中心", width = 15 , dicCode = "ch_cost", needMerge = true)
	@Dict(dicCode = "ch_cost",dicText = "costText")
	@ApiModelProperty(value = "成本中心")
	private String cost;


	/**产品*/
	@Excel(name = "产品", width = 15, needMerge = true)
	@ApiModelProperty(value = "产品")
	private String variety;

	/**品种编码variety_code*/
	@Excel(name = "品种编码", width = 15)
	@ApiModelProperty(value = "品种编码")
	private String varietyCode;

	/**打包规格*/
	@Excel(name = "打包规格", width = 15)
	@ApiModelProperty(value = "打包规格")
	private String packingSpecifications;

	/**花杆长度*/
	@Excel(name = "花杆长度", width = 15)
	@ApiModelProperty(value = "花杆长度")
	private String flowerPoleLength;

	/**上期结余*/
	@Excel(name = "上期结余", width = 15 ,type=4, isStatistics=true)
	@ApiModelProperty(value = "上期结余")
	private Double jieyu;
	/**本期入库*/
	@Excel(name = "本期入库", width = 15 ,type=4, isStatistics=true)
	@ApiModelProperty(value = "本期入库")
	private Double benruku;
	/**本期出库*/
	@Excel(name = "本期出库", width = 15 ,type=4, isStatistics=true)
	@ApiModelProperty(value = "本期出库")
	private Double benchuku;
	/**本期结余*/
	@Excel(name = "本期结余", width = 15 ,type=4, isStatistics=true)
	@ApiModelProperty(value = "本期结余")
	private Double benjieyu;


}
